home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20031118-20041115
/
000023_anthonypieper@cs.com_Wed Nov 26 14:40:14 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: anthonypieper@cs.com (newexpectuser)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Quick Question on switch statement and :1, :2
Date: 26 Nov 2003 10:57:28 -0800
Organization: http://groups.google.com
Lines: 28
Message-ID: <f0bb0f39.0311261057.2fc63bce@posting.google.com>
References: <f0bb0f39.0311260516.356db920@posting.google.com> <slrnbs9gsi.c9g.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1069873048 9118 127.0.0.1 (26 Nov 2003 18:57:28 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 26 Nov 2003 18:57:28 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14699
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbs9gsi.c9g.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311260516.356db920@posting.google.com>,
> newexpectuser wrote:
> : I am using the following and was wondering if the :1 and :2 are just
> : labels to clarify code. I am guessing that the "if < \v(input).." says
> : if the return code of the minput statement is a 1, to exit with a
> : return code of 1, otherwise check continue ?
> :
> Read the manual or type "help switch" to find out how the SWITCH command
> works. Type "help xxx" to find out how any command xxx works.
>
> : If that is true, then I think the :1 and :2 are nothing more than
> : labels and have no affect on the script itself ?
> :
> The SWITCH command is explained on page 385 of "Using C-Kermit". You
> can't learn a programming language without a manual.
First I want to make sure Kermit can fulfill our business needs as
a simple file transfer protocol running unattended versus other
communications protocols. It's strength lies in robust commands
especially the /delete on the send command. Right now I am finding
it lacking it knowing a file is still in progress of being
put into a directory and therefore transfering a "partial" file and
then issuing an error message.
Once I find out it can do the above, I'll be purchasing the manual
to support future scripts.
>
> - Frank